﻿<%@ Page Language="C#" MasterPageFile="MasterPage.master" CodeFile="login.aspx.cs" Inherits="vboard_membership_login" %>

<asp:Content ID="Content" Runat="Server" ContentPlaceHolderID="ContentPlaceHolder">
	<div class="Title"><%= GetLocalResourceObject("Title").ToString()%></div>

	<div class="ControlForm">

		<asp:Image ID="KeyImage" runat="server"
			ImageUrl="<%$ Resources:KeyImage_ImageUrl %>"
			AlternateText="<%$ Resources:KeyImage_AlternateText %>" ImageAlign="Left" />

		<dl class="VGlobal_FormFieldDL60" style="margin-left : 100px;">
			<dt>
				<asp:Label ID="UserNameLabel" runat="server"
					Text="<%$ Resources:UserNameLabel %>"
					AssociatedControlID="UserNameTextBox" />
			</dt>
			<dd>
				<asp:TextBox ID="UserNameTextBox" runat="server"
					Columns="30"
					MaxLength="100"
					CssClass="VWebGlobal_TextBox" />
				<asp:RequiredFieldValidator ID="UserNameTextBoxRequiredFieldValidator" runat="server"
					Display="None"
					ControlToValidate="UserNameTextBox"
					ErrorMessage="<%$ Resources:VGlobalResources, Membership_Validate_UserName_Insert %>" 
					SetFocusOnError="True" />
				<ajaxToolkit:ValidatorCalloutExtender ID="UserNameRequiredCalloutExtender" runat="Server"
					TargetControlID="UserNameTextBoxRequiredFieldValidator"
					CssClass="VWebGlobal_Validatorcallout"
					Width="220px"
					HighlightCssClass="VWebGlobal_ValidatorcalloutTargetHighlight" />
			</dd>

			<dt>
				<asp:Label ID="PasswordLabel" runat="server"
					Text="<%$ Resources:PasswordLabel %>"
					AssociatedControlID="PasswordTextBox" />
			</dt>
			<dd>
				<asp:TextBox ID="PasswordTextBox" runat="server"
					TextMode="Password"
					Columns="30"
					MaxLength="100"
					CssClass="VWebGlobal_TextBox" />
				<asp:RequiredFieldValidator ID="PasswordTextBoxRequiredFieldValidator" runat="server"
					Display="None"
					ControlToValidate="PasswordTextBox"
					ErrorMessage="<%$ Resources:VGlobalResources, Membership_Validate_Password_Insert %>"
					SetFocusOnError="True" />
				<ajaxToolkit:ValidatorCalloutExtender ID="PasswordRequiredCalloutExtender" runat="Server"
					TargetControlID="PasswordTextBoxRequiredFieldValidator"
					CssClass="VWebGlobal_Validatorcallout"
					Width="220px"
					HighlightCssClass="VWebGlobal_ValidatorcalloutTargetHighlight" />
			</dd>

			<dt></dt>
			<dd>
				<asp:CheckBox ID="RememberMeCheckBox" runat="server"
					Text="<%$ Resources:RememberMeText %>" />
			</dd>

			<dt></dt>
			<dd>
				<asp:Button ID="LoginButton" runat="server"
					Text="<%$ Resources:LoginButton %>" 
					onclick="LoginButton_Click" />
			</dd>
		</dl>

	</div>
</asp:Content>

